﻿using System;

namespace Zinnia.Lite.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            //StartUpServices.Initializer();

            //var ctx = new ZinniaEfBaseContext();
            //var test = new User() { Test2 = "xrainchen", Test = "rain" };
            //ctx.Set<User>().Add(test);
            //ctx.SaveChanges();
            //ctx.Dispose();
            //Console.WriteLine("OK");
            var ticks = new DateTime(1970, 1, 1, 0, 0, 0).Ticks;
            for (var i = 0; i < 1000; i++)
            {
                System.Threading.Thread.Sleep(10);
                Console.WriteLine(DateTime.Now.Ticks - ticks);
            }
            Console.Read();
        }
    }
}
